import request from '@/utils/request'

// 查询纪检系统表列表
export function listJijianxitong(query) {
  return request({
    url: '/system/jijianxitong/list',
    method: 'get',
    params: query
  })
}

// 查询纪检系统表详细
export function getJijianxitong(id) {
  return request({
    url: '/system/jijianxitong/' + id,
    method: 'get'
  })
}

// 新增纪检系统表
export function addJijianxitong(data) {
  return request({
    url: '/system/jijianxitong',
    method: 'post',
    data: data
  })
}

// 修改纪检系统表
export function updateJijianxitong(data) {
  return request({
    url: '/system/jijianxitong',
    method: 'put',
    data: data
  })
}

// 删除纪检系统表
export function delJijianxitong(id) {
  return request({
    url: '/system/jijianxitong/' + id,
    method: 'delete'
  })
}
